package com.czk.gulimall.order.feign;

import com.czk.gulimall.order.vo.OrderItemVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

/**
 * @Author:ChenZhangKun
 * @Date: 2022/4/26 21:53
 */
@FeignClient("gulimall-cart")
public interface CartFeignService {
    /**
     * 获取某个人的选中的购物项
     *
     * @return
     */
    @GetMapping("/currentUserCartItems")
    List<OrderItemVo> currentUserCartItems();
}
